# 加法运算

print("Give me two numbers, and I'll add up them.")
print("Enter 'q' to quit.")

while True:
    try:
        first_number = input("\nFirst number:")
        if first_number == 'q':
            break
        first_number = int(first_number)

        second_number = input("Second number:")
        if second_number == 'q':
            break
        second_number = int(second_number)

        print(first_number + second_number)
        
    except ValueError:
            print("You can't enter words!")
